<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>友链管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__ADMIN__css/style.css"  media="all">
  <link rel="stylesheet" href="__ADMIN__layui/css/layui.css"  media="all">
</head>
<body>
<div class="pad-20">
  <fieldset class="layui-elem-field layui-field-title">
  <legend>留言管理(版位：{:get_row('留言',$info['catid'],'title')})</legend>
  </fieldset>
  <form class="layui-form layui-form-pane" action="" method="post" enctype="multipart/form-data">
    <!--基本信息-->
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_title']}</div>
      </div>
      <div class="layui-inline">
        <label class="layui-form-label">联系方式</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_mobile']}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label">年龄</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_age']}</div>
      </div>
      <div class="layui-inline">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_sex']}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label">所在区域</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_address']}</div>
      </div>
      <div class="layui-inline">
        <label class="layui-form-label">电子邮箱</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_email']}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label">文化程度</label>
        <div class="layui-input-block pad-lr-10 msg-item-block">{$info['company_culture']}</div>
      </div>
      <div class="layui-inline">
        <label class="layui-form-label" style="width:150px;">是否已经选址</label>
        <div class="layui-input-block pad-lr-10 msg-item-block" style="margin-left:150px;min-width:260px;">{$info['company_xuanzhi']}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label" style="width:180px;">是否从事过美容行业</label>
        <div class="layui-input-block pad-lr-10 msg-item-block" style="margin-left:180px;min-width:230px;">{$info['company_congshi']}</div>
      </div>
      <div class="layui-inline">
        <label class="layui-form-label" style="width:150px;">预计总投资金额</label>
        <div class="layui-input-block pad-lr-10 msg-item-block" style="margin-left:150px;min-width:260px;">{$info['company_zijin']}</div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <label class="layui-form-label" style="width:150px;">需要哪方面协助</label>
        <div class="layui-input-block pad-lr-10 msg-item-block" style="margin-left:150px;min-width:260px;">{$info['company_xiezhu']}</div>
      </div>
    </div>
    <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">留言内容</label>
    <div class="layui-input-block msg-item-block pad-lr-10">
      {$info['company_content']}
    </div>
  </div>
    <!--基本信息-->
  </form>
</div>
<div class="yzui-filler"></div>
<script src="__ADMIN__js/jquery-1.9.1.min.js" charset="utf-8"></script>
<script type="text/javascript" src="__COMMON__ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__COMMON__ueditor/ueditor.all.js"></script>
<script src="__ADMIN__layui/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script type="text/javascript">
  layui.use(['form', 'layedit', 'laydate'], function(){
    var form = layui.form
    ,layer = layui.layer
    ,layedit = layui.layedit
    ,laydate = layui.laydate;

    //日期
    laydate.render({
      elem: '#date',type: 'datetime'
    });
    laydate.render({
      elem: '#date1',type: 'datetime'
    });
  });
  layui.use('element', function(){
  var $ = layui.jquery
  ,element = layui.element;
  });
  $(function(){
    // 文件上传
    $(".upload-row").each(function(i){
      $(this).find(".buttonup").click(function(){
        window.open('{:U('Tool/uploadImage', '', '')}?id='+ i, '文件上传', 'height=100, width=400, top='+(screen.availHeight-100)/2+', left='+(screen.availWidth-400)/2+', toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
      });
    });
  });
</script>
</body>
</html>
